# Maintainer: Christian Rebischke <chris.rebischke@archlinux.org>
# Contributor: Gaetan Bisson <bisson@archlinux.org>
# Contributor: Darwin M. Bautista <djclue917@gmail.com>

pkgname=ttf-baekmuk
pkgver=2.2
pkgrel=13
pkgdesc='Korean fonts'
url='https://kldp.net/baekmuk/'
license=('custom:BSD')
arch=('any')
source=("https://kldp.net/baekmuk/release/865-baekmuk-ttf-${pkgver}.tar.gz")
sha256sums=('08ab7dffb55d5887cc942ce370f5e33b756a55fbb4eaf0b90f244070e8d51882')

package() {
	cd "${srcdir}/baekmuk-ttf-${pkgver}/ttf"
	install -d "${pkgdir}"/usr/share/fonts/TTF
	install -m644 *.ttf "${pkgdir}"/usr/share/fonts/TTF
	install -Dm644 ../COPYRIGHT "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
